﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000595 RID: 1429
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class FinishEmotionDialoguePerformanceCsReq : IMessage<FinishEmotionDialoguePerformanceCsReq>, IMessage, IEquatable<FinishEmotionDialoguePerformanceCsReq>, IDeepCloneable<FinishEmotionDialoguePerformanceCsReq>, IBufferMessage
	{
		// Token: 0x17001253 RID: 4691
		// (get) Token: 0x06004038 RID: 16440 RVA: 0x000AFF4B File Offset: 0x000AE14B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<FinishEmotionDialoguePerformanceCsReq> Parser
		{
			get
			{
				return FinishEmotionDialoguePerformanceCsReq._parser;
			}
		}

		// Token: 0x17001254 RID: 4692
		// (get) Token: 0x06004039 RID: 16441 RVA: 0x000AFF52 File Offset: 0x000AE152
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return FinishEmotionDialoguePerformanceCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001255 RID: 4693
		// (get) Token: 0x0600403A RID: 16442 RVA: 0x000AFF64 File Offset: 0x000AE164
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return FinishEmotionDialoguePerformanceCsReq.Descriptor;
			}
		}

		// Token: 0x0600403B RID: 16443 RVA: 0x000AFF6B File Offset: 0x000AE16B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishEmotionDialoguePerformanceCsReq()
		{
		}

		// Token: 0x0600403C RID: 16444 RVA: 0x000AFF73 File Offset: 0x000AE173
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishEmotionDialoguePerformanceCsReq(FinishEmotionDialoguePerformanceCsReq other) : this()
		{
			this.eKJNIKMMFLE_ = other.eKJNIKMMFLE_;
			this.scriptId_ = other.scriptId_;
			this.dialogueId_ = other.dialogueId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600403D RID: 16445 RVA: 0x000AFFB0 File Offset: 0x000AE1B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public FinishEmotionDialoguePerformanceCsReq Clone()
		{
			return new FinishEmotionDialoguePerformanceCsReq(this);
		}

		// Token: 0x17001256 RID: 4694
		// (get) Token: 0x0600403E RID: 16446 RVA: 0x000AFFB8 File Offset: 0x000AE1B8
		// (set) Token: 0x0600403F RID: 16447 RVA: 0x000AFFC0 File Offset: 0x000AE1C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EKJNIKMMFLE
		{
			get
			{
				return this.eKJNIKMMFLE_;
			}
			set
			{
				this.eKJNIKMMFLE_ = value;
			}
		}

		// Token: 0x17001257 RID: 4695
		// (get) Token: 0x06004040 RID: 16448 RVA: 0x000AFFC9 File Offset: 0x000AE1C9
		// (set) Token: 0x06004041 RID: 16449 RVA: 0x000AFFD1 File Offset: 0x000AE1D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ScriptId
		{
			get
			{
				return this.scriptId_;
			}
			set
			{
				this.scriptId_ = value;
			}
		}

		// Token: 0x17001258 RID: 4696
		// (get) Token: 0x06004042 RID: 16450 RVA: 0x000AFFDA File Offset: 0x000AE1DA
		// (set) Token: 0x06004043 RID: 16451 RVA: 0x000AFFE2 File Offset: 0x000AE1E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint DialogueId
		{
			get
			{
				return this.dialogueId_;
			}
			set
			{
				this.dialogueId_ = value;
			}
		}

		// Token: 0x06004044 RID: 16452 RVA: 0x000AFFEB File Offset: 0x000AE1EB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as FinishEmotionDialoguePerformanceCsReq);
		}

		// Token: 0x06004045 RID: 16453 RVA: 0x000AFFFC File Offset: 0x000AE1FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(FinishEmotionDialoguePerformanceCsReq other)
		{
			return other != null && (other == this || (this.EKJNIKMMFLE == other.EKJNIKMMFLE && this.ScriptId == other.ScriptId && this.DialogueId == other.DialogueId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06004046 RID: 16454 RVA: 0x000B0058 File Offset: 0x000AE258
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EKJNIKMMFLE != 0U)
			{
				num ^= this.EKJNIKMMFLE.GetHashCode();
			}
			if (this.ScriptId != 0U)
			{
				num ^= this.ScriptId.GetHashCode();
			}
			if (this.DialogueId != 0U)
			{
				num ^= this.DialogueId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06004047 RID: 16455 RVA: 0x000B00C9 File Offset: 0x000AE2C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06004048 RID: 16456 RVA: 0x000B00D1 File Offset: 0x000AE2D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06004049 RID: 16457 RVA: 0x000B00DC File Offset: 0x000AE2DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EKJNIKMMFLE != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.EKJNIKMMFLE);
			}
			if (this.ScriptId != 0U)
			{
				output.WriteRawTag(72);
				output.WriteUInt32(this.ScriptId);
			}
			if (this.DialogueId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.DialogueId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600404A RID: 16458 RVA: 0x000B0150 File Offset: 0x000AE350
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EKJNIKMMFLE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EKJNIKMMFLE);
			}
			if (this.ScriptId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ScriptId);
			}
			if (this.DialogueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.DialogueId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600404B RID: 16459 RVA: 0x000B01C0 File Offset: 0x000AE3C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(FinishEmotionDialoguePerformanceCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EKJNIKMMFLE != 0U)
			{
				this.EKJNIKMMFLE = other.EKJNIKMMFLE;
			}
			if (other.ScriptId != 0U)
			{
				this.ScriptId = other.ScriptId;
			}
			if (other.DialogueId != 0U)
			{
				this.DialogueId = other.DialogueId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600404C RID: 16460 RVA: 0x000B0224 File Offset: 0x000AE424
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600404D RID: 16461 RVA: 0x000B0230 File Offset: 0x000AE430
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					if (num != 72U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.DialogueId = input.ReadUInt32();
						}
					}
					else
					{
						this.ScriptId = input.ReadUInt32();
					}
				}
				else
				{
					this.EKJNIKMMFLE = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04001955 RID: 6485
		private static readonly MessageParser<FinishEmotionDialoguePerformanceCsReq> _parser = new MessageParser<FinishEmotionDialoguePerformanceCsReq>(() => new FinishEmotionDialoguePerformanceCsReq());

		// Token: 0x04001956 RID: 6486
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001957 RID: 6487
		public const int EKJNIKMMFLEFieldNumber = 1;

		// Token: 0x04001958 RID: 6488
		private uint eKJNIKMMFLE_;

		// Token: 0x04001959 RID: 6489
		public const int ScriptIdFieldNumber = 9;

		// Token: 0x0400195A RID: 6490
		private uint scriptId_;

		// Token: 0x0400195B RID: 6491
		public const int DialogueIdFieldNumber = 14;

		// Token: 0x0400195C RID: 6492
		private uint dialogueId_;
	}
}
